package com.zjp.mg.service;

import com.zjp.mg.dao.AbstractMongoService;
import com.zjp.mg.model.Rule;
import org.springframework.stereotype.Service;

@Service
public class RuleService extends AbstractMongoService<Rule> {
    @Override
    public String getCollectionName() {
        return "rule";
    }

    @Override
    public Class<Rule> getType() {
        return Rule.class;
    }
}
